projectDir =  /cygdrive/d/TA/Code/masterControl

clean	:
	rm bin/test/*.o
	rm bin/*.o
	
bin/sysConfig.o	:	src/sysConfig/sysConfig.c
	gcc -c src/sysConfig/sysConfig.c  -o bin/sysConfig.o -I inc/ -D PC
bin/test/SysConfigTest.o 	:	src/sysConfig/test/SysConfigTest.c
	gcc -c src/sysConfig/test/SysConfigTest.c -o bin/test/SysConfigTest.o -I inc/ 
bin/test/SysConfigTest	:	bin/sysConfig.o	bin/test/SysConfigTest.o 
	gcc bin/test/SysConfigTest.o bin/sysConfig.o -o bin/test/SysConfigTest	
runSysConfigTest	:	bin/test/SysConfigTest
	bin/test/SysConfigTest	


runTest	:  runSysConfigTest 

deployLib	:
	mkdir deploy/lib/sysConfig/ -p
	mkdir deploy/lib/sysConfig/src/ -p
	mkdir deploy/lib/sysConfig/src/sysConfig -p
	mkdir deploy/lib/sysConfig/includes/ -p
	
	cp -f src/sysConfig/sysConfig.c deploy/lib/sysConfig/src/sysConfig/sysConfig.c
	cp -f inc/sysConfig.h deploy/lib/sysConfig/includes/sysConfig.h
	cp -f inc/configDT.h deploy/lib/sysConfig/includes/configDT.h
	
